//
//  AccoutTableViewCell.m
//  project
//
//  Created by 张亚林 on 2017/10/31.
//  Copyright © 2017年 Macmini. All rights reserved.
//

#import "AccoutTableViewCell.h"

#import "PaymentModel.h"

@interface AccoutTableViewCell ()


@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UILabel *bankName;
@property (weak, nonatomic) IBOutlet UILabel *branchName;
@property (weak, nonatomic) IBOutlet UILabel *collectionAddr;


@end

@implementation AccoutTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setModel:(NSObject *)objc {
    
    _model = (PaymentModel *)objc;
    
    _name.text = _model.ownerName;
    _bankName.text = _model.bankName;
    _branchName.text = _model.branchName;
    _collectionAddr.text = _model.collectionAddr;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

   
}

@end
